package cn.bdqn.mall.order.web;

import cn.bdqn.mall.order.service.OrderService;
import cn.bdqn.mall.order.util.OrderVO;
import cn.bdqn.mall.util.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class OrderController {
    @Resource
    private OrderService orderService;

    @PostMapping("/orders")
    public Result create(@RequestBody OrderVO orderVO) {

        return Result.returnOk();
    }
}


